package com.freeter.modules.adverts.entity.view;

import com.baomidou.mybatisplus.annotations.TableName;
import com.freeter.modules.adverts.entity.AdvertsDetailEntity;
import io.swagger.annotations.ApiModel;
import org.springframework.beans.BeanUtils;

import java.io.Serializable;


/**
 * 广告位详情
 * 后端返回视图实体辅助类
 * （通常后端关联的表或者自定义的字段需要返回使用）
 *
 * @date 2018-08-21 12:36:59
 */
@TableName("cn_adverts_detail")
@ApiModel(value = "AdvertsDetail")
public class AdvertsDetailView extends AdvertsDetailEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public AdvertsDetailView() {
    }

    public AdvertsDetailView(AdvertsDetailEntity advertsDetailEntity) {
        BeanUtils.copyProperties(this, advertsDetailEntity);
    }
}
